drm/vc4: Fix pitch setup for T-format scanout.
authorEric Anholt <eric@anholt.net>
Sat, 15 Jul 2017 00:33:08 +0000 (17:33 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:54:35 +0000 (15:54 +0100)
commitabf3ebd2717dca7ab20f361ba46fdc1f81115265
tree0437532b429ddc53daed2137ef59277b5c838202
parentede57686c5427e58ca4a4fd139ef9ebd1e535e00
drm/vc4: Fix pitch setup for T-format scanout.

The documentation said to use src_w here, and I didn't consider that
we actually needed to be using pitch somewhere in our setup.  Fixes
scanout on my DSI panel when X11 does initial setup with 1920x1080
HDMI and 800x480 DSI both at 0,0 of the same framebuffer.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 98830d91da08 ("drm/vc4: Add T-format scanout support.")
drivers/gpu/drm/vc4/vc4_plane.c